home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11626 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: ralph.vnet.net!usenet
  2. From: mauricej@vnet.net (Maurice Jeter)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: works in Borland but not in Microsuck Visual C++
  5. Date: 15 Mar 1996 14:25:18 GMT
  6. Organization: ...
  7. Message-ID: <4ibuke$hui@ralph.vnet.net>
  8. References: <4ia6h8$jes@news.vanderbilt.edu>
  9. Reply-To: maurice@msn.com
  10. NNTP-Posting-Host: mjeter.vnet.net
  11. X-Newsreader: WinVN 0.99.7
  12.  
  13. In article <4ia6h8$jes@news.vanderbilt.edu>, 
  14. haseltbt@ctrvax.vanderbilt.edu says...
  15.  
  16. >                The following program was written in completely standard 
  17. C++ 
  18. >and should be portable across platforms.  However, it only performs as 
  19. >expected (i.e. sends two copies of 4 to the standard out stream) in 
  20. Borland 
  21. >C++; when compiled in MicroSUCK Visual C++, it outputs 4 followed by a 
  22. random 
  23. >integer in the thousands.
  24.  
  25. Check out the Visual C KB for any issues regarding this; Jump over to 
  26. Microsoft's Home Page and go to the Support page (I don't remember what 
  27. its called).  
  28.  
  29. I moved from BC to VC 4; a lot of my code would not compile due to 
  30. different function names and parameters, and very strict type checking, 
  31. but once I got everything modified I was very please with it.  
  32. Unfortunately it doesn't seem to catch as many potential errors that BC 
  33. can (such as "code has no effect").
  34.  
  35. ---
  36. Maurice Jeter (maurice@msn.com)
  37. CIS: 72622,3606    MSN: Maurice
  38. http://www.vnet.net/users/maurice
  39.  
  40.